Package com.inet.viewer.props
Class DefaultSetting
- java.lang.Object
-
- com.inet.viewer.props.DefaultSetting
-
public class DefaultSetting extends java.lang.ObjectContains the various property values which can be set for the corresponding keys.- Since:
- 9.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultSetting.KeyOne of the keys which can be set inSwingReportViewer.setDefaultSetting(DefaultSetting.Key, DefaultSetting)
-
Field Summary
Fields Modifier and Type Field Description static DefaultSetting.KeyDEFAULT_DRILLDOWN_ENABLEDKey for the viewer's default of whether to allow drill downsstatic DefaultSetting.KeyDEFAULT_VIEW_MODEKey for the viewer's default view modestatic DefaultSetting.KeyDEFAULT_ZOOMKey for the viewer's default zoom levelstatic DefaultSettingVALUE_DRILLDOWN_DISABLEDValue belonging to DEFAULT_ZOOM: zoom to 100%static DefaultSettingVALUE_DRILLDOWN_ENABLEDValue belonging to DEFAULT_DRILLDOWN_ENABLED: enabledstatic DefaultSettingVALUE_VIEW_MODE_DOUBLE_PAGEValue belonging to DEFAULT_VIEW_MODE: show two pages at a timestatic DefaultSettingVALUE_VIEW_MODE_DOUBLE_PAGE_CONTINUOUSValue belonging to DEFAULT_VIEW_MODE: show pages as double column continuous streamstatic DefaultSettingVALUE_VIEW_MODE_SINGLE_PAGEValue belonging to DEFAULT_VIEW_MODE: show only one page at a timestatic DefaultSettingVALUE_VIEW_MODE_SINGLE_PAGE_CONTINUOUSValue belonging to DEFAULT_VIEW_MODE: show pages as single column continuous streamstatic DefaultSettingVALUE_ZOOM_100_PERCENTValue belonging to DEFAULT_ZOOM: zoom to 100%static DefaultSettingVALUE_ZOOM_PAGE_HEIGHTValue belonging to DEFAULT_ZOOM: zoom to page heightstatic DefaultSettingVALUE_ZOOM_PAGE_WIDTHValue belonging to DEFAULT_ZOOM: zoom to page widthstatic DefaultSettingVALUE_ZOOM_WHOLE_PAGEValue belonging to DEFAULT_ZOOM: zoom to full page
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultSetting.KeygetKey()Returns the key belonging to this value. only this key may be used when setting this value.java.lang.StringgetName()Returns the name of the key
-
-
-
Field Detail
-
DEFAULT_VIEW_MODE
public static final DefaultSetting.Key DEFAULT_VIEW_MODE
Key for the viewer's default view mode- See Also:
ReportView.setViewMode(int)
-
DEFAULT_ZOOM
public static final DefaultSetting.Key DEFAULT_ZOOM
Key for the viewer's default zoom level- See Also:
ReportView.setAutomaticZoomType(int)
-
DEFAULT_DRILLDOWN_ENABLED
public static final DefaultSetting.Key DEFAULT_DRILLDOWN_ENABLED
Key for the viewer's default of whether to allow drill downs- See Also:
ReportView.setDrilldownEnabled(boolean)
-
VALUE_VIEW_MODE_SINGLE_PAGE
public static final DefaultSetting VALUE_VIEW_MODE_SINGLE_PAGE
Value belonging to DEFAULT_VIEW_MODE: show only one page at a time- See Also:
ReportView.VIEW_SINGLE_PAGE
-
VALUE_VIEW_MODE_DOUBLE_PAGE
public static final DefaultSetting VALUE_VIEW_MODE_DOUBLE_PAGE
Value belonging to DEFAULT_VIEW_MODE: show two pages at a time- See Also:
ReportView.VIEW_DOUBLE_PAGE
-
VALUE_VIEW_MODE_SINGLE_PAGE_CONTINUOUS
public static final DefaultSetting VALUE_VIEW_MODE_SINGLE_PAGE_CONTINUOUS
Value belonging to DEFAULT_VIEW_MODE: show pages as single column continuous stream- See Also:
ReportView.VIEW_SINGLE_CONTINUOUS
-
VALUE_VIEW_MODE_DOUBLE_PAGE_CONTINUOUS
public static final DefaultSetting VALUE_VIEW_MODE_DOUBLE_PAGE_CONTINUOUS
Value belonging to DEFAULT_VIEW_MODE: show pages as double column continuous stream- See Also:
ReportView.VIEW_DOUBLE_CONTINUOUS
-
VALUE_ZOOM_PAGE_WIDTH
public static final DefaultSetting VALUE_ZOOM_PAGE_WIDTH
Value belonging to DEFAULT_ZOOM: zoom to page width- See Also:
ReportView.ZOOM_TO_PAGEWIDTH
-
VALUE_ZOOM_PAGE_HEIGHT
public static final DefaultSetting VALUE_ZOOM_PAGE_HEIGHT
Value belonging to DEFAULT_ZOOM: zoom to page height- See Also:
ReportView.ZOOM_TO_PAGEHEIGHT
-
VALUE_ZOOM_WHOLE_PAGE
public static final DefaultSetting VALUE_ZOOM_WHOLE_PAGE
Value belonging to DEFAULT_ZOOM: zoom to full page- See Also:
ReportView.ZOOM_TO_FULLPAGE
-
VALUE_ZOOM_100_PERCENT
public static final DefaultSetting VALUE_ZOOM_100_PERCENT
Value belonging to DEFAULT_ZOOM: zoom to 100%- See Also:
ReportView.ZOOM_MANUAL
-
VALUE_DRILLDOWN_ENABLED
public static final DefaultSetting VALUE_DRILLDOWN_ENABLED
Value belonging to DEFAULT_DRILLDOWN_ENABLED: enabled
-
VALUE_DRILLDOWN_DISABLED
public static final DefaultSetting VALUE_DRILLDOWN_DISABLED
Value belonging to DEFAULT_ZOOM: zoom to 100%- See Also:
ReportView.ZOOM_MANUAL
-
-
Method Detail
-
getKey
public DefaultSetting.Key getKey()
Returns the key belonging to this value. only this key may be used when setting this value.- Returns:
- key belonging to this value
- Since:
- 9.0
-
getName
public java.lang.String getName()
Returns the name of the key- Returns:
- name of the key
- Since:
- 9.0
-
-